//
//  CLTopic.h
//  chanlin
//
//  Created by Ryan on 15/6/27.
//  Copyright (c) 2015年 chanlin. All rights reserved.
//

#import <Foundation/Foundation.h>
#import <CoreData/CoreData.h>

@class CLTopic, CLUrl;

@interface CLTopic : NSManagedObject

@property (nonatomic, retain) NSString * area;
@property (nonatomic) float cHeight;
@property (nonatomic) int32_t comment;
@property (nonatomic, retain) NSString * itemId;
@property (nonatomic) int32_t link;
@property (nonatomic, retain) NSString * slider1;
@property (nonatomic, retain) NSString * slider2;
@property (nonatomic, retain) NSString * slider3;
@property (nonatomic) int32_t sort;
@property (nonatomic) int32_t style;
@property (nonatomic, retain) NSString * sub;
@property (nonatomic, retain) NSString * thumnail;
@property (nonatomic, retain) NSString * title;
@property (nonatomic, retain) NSString * topicId;
@property (nonatomic, retain) NSString * url;
@property (nonatomic, retain) NSString * status;
@property (nonatomic, retain) NSOrderedSet *subtopicUrl;
@property (nonatomic, retain) NSOrderedSet *focus;
@end

@interface CLTopic (CoreDataGeneratedAccessors)

- (void)insertObject:(CLUrl *)value inSubtopicUrlAtIndex:(NSUInteger)idx;
- (void)removeObjectFromSubtopicUrlAtIndex:(NSUInteger)idx;
- (void)insertSubtopicUrl:(NSArray *)value atIndexes:(NSIndexSet *)indexes;
- (void)removeSubtopicUrlAtIndexes:(NSIndexSet *)indexes;
- (void)replaceObjectInSubtopicUrlAtIndex:(NSUInteger)idx withObject:(CLUrl *)value;
- (void)replaceSubtopicUrlAtIndexes:(NSIndexSet *)indexes withSubtopicUrl:(NSArray *)values;
- (void)addSubtopicUrlObject:(CLUrl *)value;
- (void)removeSubtopicUrlObject:(CLUrl *)value;
- (void)addSubtopicUrl:(NSOrderedSet *)values;
- (void)removeSubtopicUrl:(NSOrderedSet *)values;
- (void)insertObject:(CLTopic *)value inFocusAtIndex:(NSUInteger)idx;
- (void)removeObjectFromFocusAtIndex:(NSUInteger)idx;
- (void)insertFocus:(NSArray *)value atIndexes:(NSIndexSet *)indexes;
- (void)removeFocusAtIndexes:(NSIndexSet *)indexes;
- (void)replaceObjectInFocusAtIndex:(NSUInteger)idx withObject:(CLTopic *)value;
- (void)replaceFocusAtIndexes:(NSIndexSet *)indexes withFocus:(NSArray *)values;
- (void)addFocusObject:(CLTopic *)value;
- (void)removeFocusObject:(CLTopic *)value;
- (void)addFocus:(NSOrderedSet *)values;
- (void)removeFocus:(NSOrderedSet *)values;
@end
